home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sermgrax / frmselec.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-06-07  |  2.3 KB  |  70 lines

  1. VERSION 5.00
  2. Begin VB.Form frmSelectComputer 
  3.    BorderStyle     =   3  'Fixed Dialog
  4.    Caption         =   "Select Computer"
  5.    ClientHeight    =   930
  6.    ClientLeft      =   45
  7.    ClientTop       =   330
  8.    ClientWidth     =   2985
  9.    Icon            =   "frmSelectComputer.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MinButton       =   0   'False
  13.    ScaleHeight     =   930
  14.    ScaleWidth      =   2985
  15.    ShowInTaskbar   =   0   'False
  16.    StartUpPosition =   1  'CenterOwner
  17.    Begin VB.CommandButton cmdCancel 
  18.       Cancel          =   -1  'True
  19.       Caption         =   "Cancel"
  20.       Height          =   375
  21.       Left            =   1920
  22.       TabIndex        =   2
  23.       Top             =   480
  24.       Width           =   975
  25.    End
  26.    Begin VB.CommandButton cmdOK 
  27.       Caption         =   "OK"
  28.       Default         =   -1  'True
  29.       Height          =   375
  30.       Left            =   720
  31.       TabIndex        =   1
  32.       Top             =   480
  33.       Width           =   975
  34.    End
  35.    Begin VB.TextBox txtComputerName 
  36.       Height          =   285
  37.       Left            =   120
  38.       TabIndex        =   0
  39.       Top             =   120
  40.       Width           =   2775
  41.    End
  42. Attribute VB_Name = "frmSelectComputer"
  43. Attribute VB_GlobalNameSpace = False
  44. Attribute VB_Creatable = False
  45. Attribute VB_PredeclaredId = True
  46. Attribute VB_Exposed = False
  47. '****************************************************************************************************
  48. '   Copyright (c) Key Technology Pty Ltd 1999, All Rights Reserved.
  49. '   Web site: http://www.keytech.com.au  Email: info@keytech.com.au
  50. '****************************************************************************************************
  51. Option Explicit
  52. Private mComputerName As String
  53. Private Sub cmdCancel_Click()
  54.     Unload Me
  55. End Sub
  56. Private Sub cmdOK_Click()
  57.     mComputerName = txtComputerName
  58.     Unload Me
  59. End Sub
  60. Private Sub Form_Load()
  61.     txtComputerName = mComputerName
  62.     txtComputerName.SelLength = Len(txtComputerName)
  63. End Sub
  64. Public Property Let ComputerName(ComputerName As String)
  65.     mComputerName = ComputerName
  66. End Property
  67. Public Property Get ComputerName() As String
  68.     ComputerName = mComputerName
  69. End Property
  70.